package com.itheima.mapper;

import com.itheima.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    void save(Student student);

    List<Student> findByName(@Param("name") String name , @Param("age")int age);

    void update(Student student);

    void delete(int i);

    List<Student> findByName2(String name);

    Student findById(int id);

    List<Student> findAll();
}
